<!DOCTYPE html>
<html lang="en">
<body>
<div class="wrap">
    <!--star header-->
    <div class="header">
    </div>
    <!--end  header-->
    <!--star 播发器-->
    <div class="fix b-121212">
        <div class="fix w1200 ir c-f4f4f4">
            <!--star videoPlayer-->
            <div class="videoPlayer">
                <div class="vio_source">
                    <div id="video_info"></div>
                </div>
            </div>
            <!--end videoPlayer-->
            <script type="text/javascript" src="/static/www/ckplayer/ckplayer.js" charset="utf-8"></script>
            <script type="text/javascript">
                var flashvars={
                    f:'<{$video.video_url}>',
                    //f:'rtmp://rtmp-live.dianmoo.com/live/123456',
                    c:0,
                    i:'<{$video.image_url}>'
                    };
                var params={bgcolor:'#FFF',allowFullScreen:true,allowScriptAccess:'always',wmode:'transparent'};
                CKobject.embedSWF('/static/www/ckplayer/ckplayer.swf','video_info','ckplayer_a1','940','565',flashvars,params);
                /*
                CKobject.embedSWF(播放器路径,容器id,播放器id/name,播放器宽,播放器高,flashvars的值,其它定义也可省略);
                下面三行是调用html5播放器用到的
                */
                var video=['<{$video.video_url}>->video/mp4'];
                var support=['iPad','iPhone','ios','android+false','msie10+false'];
                CKobject.embedHTML5('video_info','ckplayer_a1',600,400,video,flashvars,support);
                function closelights(){//关灯
                    alert(' 本演示不支持开关灯');
                }
                function openlights(){//开灯
                    alert(' 本演示不支持开关灯');
                }
              </script>
        </div>
    </div>
    <!--end 播发器-->
</div>
</body>
</html>

